home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Disc to the Future 2
/
Disc to the Future Part II Programmer's Reference (Wayzata Technology)(6013)(1992).bin
/
MAC
/
HYPERCAR
/
BUTTONS_
/
LOCK_UNL.OCK
/
card_2849.txt
< prev
next >
Wrap
Text File
|
1989-08-17
|
2KB
|
89 lines
-- card: 2849 from stack: in.OCK
-- bmap block id: 2374
-- flags: 0000
-- background id: 2608
-- name:
-- part 1 (button)
-- low flags: 00
-- high flags: 8004
-- rect: left=95 top=77 right=95 bottom=155
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Lock
----- HyperTalk script -----
on mouseUp
repeat with x=1 to the number of cards
go card x
repeat with y=1 to the number of card fields
set lockText of card field y to true
end repeat
end repeat
repeat with x=1 to the number of backgrounds
go first card of background x
repeat with y=1 to the number of fields
set lockText of field y to true
end repeat
end repeat
end mouseUp
-- part 2 (button)
-- low flags: 00
-- high flags: 8004
-- rect: left=340 top=77 right=96 bottom=402
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Unlock
----- HyperTalk script -----
on mouseUp
repeat with x=1 to the number of cards
go card x
repeat with y=1 to the number of card fields
set lockText of card field y to false
end repeat
end repeat
repeat with x=1 to the number of backgrounds
go first card of background x
repeat with y=1 to the number of fields
set lockText of field y to false
end repeat
end repeat
end mouseUp
-- part 3 (field)
-- low flags: 01
-- high flags: 2000
-- rect: left=38 top=120 right=318 bottom=468
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part contents for card part 3
----- text -----
Copy these buttons to any stack...
Click "Lock" to lock the text in all fields in the stack.
Click "Unlock" to unlock all fields within the stack.